public class Type2 {
    public static void main(String[] args) {
        int a = 0;
        int b = 0;

        if (args.length == 2 ) {
            a = Integer.parseInt(args[0]);
            // 字符串转化成整型数据
            b = Integer.parseInt(args[1]);


        }
        System.out.printf("%d + %d = %d", a, b, a + b);
    }
}
//args.length == 2  判断这个数组里的内容等不等于两个